<!-- 充值记录 -->
<div>
    <div class="layui-col-md12">
        <!-- 面包屑导航 -->
        <!-- <div>
            <span class="layui-breadcrumb">
                <a href="{:url('/html/index')}">首页</a>
                <a href="{:url('/html/plus/drive')}">财务管理</a>
                <a>
                    <cite>充值记录</cite>
                </a>
            </span>
        </div> -->
        <!-- 搜索框 -->
        <form class="layui-form" action="" style="margin-top:10px;">
            <div class="layui-form-item layui-col-md12 layui-col-xs12">
                <div class="layui-input-inline">
                    <select name="state" value="{$Think.get.state}">
                        <option value="0" {$Think.get.state=='' ?selected: ""}>充值状态-不限</option>
                        <option value="1" {$Think.get.state==1?selected: ""}>微信支付已提交</option>
                        <option value="2" {$Think.get.state==2?selected: ""}>预充值已提交</option>
                        <option value="3" {$Think.get.state==3?selected: ""}>已通过</option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <select name="type" value="{$Think.get.type}">
                        <option value="0" {$Think.get.type=='' ?selected: ""}>充值类型-不限</option>
                        <option value="1" {$Think.get.type==1?selected: ""}>微信</option>
                        <option value="2" {$Think.get.type==2?selected: ""}>预充值</option>
                    </select>
                </div>
                <div class="layui-input-inline">
                    <input type="text" name="company_name" placeholder="请输入公司名" autocomplete="off" class="layui-input" value="{$Think.get.company_name}">
                </div>
                <div class="layui-input-inline">
                    <input type="text" name='company_recharge_id' class="layui-input" placeholder="请输入订单号" value="{$Think.get.company_recharge_id}">
                </div>
                <button class="layui-btn layui-btn-normal">
                    <span>查询</span>
                </button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>

        </form>
    </div>
    <!-- 表单 -->
    <div class="table_margin_0">
        <table class="layui-hide" id="recharge" lay-filter="demo"></table>
    </div>
    <!-- 分页 -->
    <div id="page"></div>
</div>
<!-- <script type="text/html" id="demo">
        <a class="layui-btn layui-btn-xs" lay-event="edit">
            <i class="layui-icon">&#xe642;</i>编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">
            <i class="layui-icon">&#xe640;</i>删除</a>
    </script> -->

<script type="text/html" id="state">
        {{#  if(d.state == 1 ){ }}
                 微信支付已提交
        {{#  } else if(d.state == 2) { }}
                预充值已提交
        {{#  } else { }}
                已通过
        {{#  } }}
      </script>